{% extends "flex_base_operation.html" %} {% load i18n %} {% block html_title %} {{ form.title|escape }} {% endblock %} {% block addfields %} {% autoescape off %}
{% endautoescape %} {% endblock %} {% block addjs %} before_submit = function(){ if($("#position_tree_by_dept").find('ul>li').length > 0 && $("#id_show_input").val().length == 0){ $('#id_info').html("") return false }else{ return true } } {% endblock %}